package com.fanfou.utils
{
	public class FanfouConfig
	{
		public function FanfouConfig()
		{
		}
		
		private static var fanfouConfig:FanfouConfig;
		
		public static function getInstance():FanfouConfig{
			if(null == fanfouConfig)fanfouConfig = new FanfouConfig;
			return fanfouConfig;
		}
		
		public var consumerKey:String = '96eb645c91eb5f958577ad12376eb00c';
		
		public var consumerSecret:String = '6b14baae88c7799b19ba9e2d2e6d3b36';
		
		public var accessTokenKey:String = '';
		
		public var accessTokenSecret:String = '';
		
		public var dataFormat:String = 'json';
		
		public var baseURL:String = "http://api.fanfou.com/";
		
		public const HMACSHA1:String = "HMAC-SHA1";
		
		public const HMACSHATYPE:String = "sha1";
		
		public const oauthVersion:String = "1.0";
		
		public var requestTokenURL:String = 'http://fanfou.com/oauth/request_token';
		
		public var accessTokenURL:String = 'http://fanfou.com/oauth/access_token';
		
		public var authorizeURL:String = 'http://fanfou.com/oauth/authorize';
		
		public var username:String = '';
		
		public var password:String = '';
		
//		public function initialize(consumerKey:String,consumerSecret:String,oauthCallback:String=null):void
//		{
//			this.consumerKey = consumerKey;
//			this.consumerSecret = consumerSecret;
//		}
	}
}